/**
 * 
 */
package bingo.security.datasecurity.core;

/**
 * 2008-6-2  下午02:22:39 DataSecurityException.java
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:数据访问权限异常
 * ChangeLog:
 */
public class DataSecurityException extends RuntimeException {
	private static final long serialVersionUID = -1L;
	private String action;
	/**
	 * @param action 数据访问对应的动作
	 */
	public DataSecurityException(String action) {
		super();
		this.action = action;
	}
	/**
	 * @param action 数据访问对应的动作
	 * @param message 异常的详细信息
	 */
	public DataSecurityException(String action,String message) {
		super(message);
		this.action = action;
	}
	
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}


}
